本文整理汇总了C#中PdfWriter.IsPdfIso方法的典型用法代码示例。如果您正苦于以下问题:C# PdfWriter.IsPdfIso方法的具体用法?C# PdfWriter.IsPdfIso怎么用?C# PdfWriter.IsPdfIso使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PdfWriter
的用法示例。
在下文中一共展示了PdfWriter.IsPdfIso方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CheckPdfAConformance
internal void CheckPdfAConformance(PdfWriter writer, int key, Object obj1) {
if(writer == null || !writer.IsPdfIso())
return;
switch(key) {
case PdfIsoKeys.PDFISOKEY_FONT:
CheckFont(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_IMAGE:
CheckImage(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_GSTATE:
CheckGState(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_LAYER:
CheckLayer(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_TRAILER:
CheckTrailer(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_STREAM:
CheckStream(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_FILESPEC:
CheckFileSpec(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_OBJECT:
CheckPdfObject(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_CANVAS:
CheckCanvas(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_COLOR:
case PdfIsoKeys.PDFISOKEY_CMYK:
case PdfIsoKeys.PDFISOKEY_RGB:
CheckColor(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_ANNOTATION:
CheckAnnotation(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_ACTION:
CheckAction(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_FORM:
CheckForm(writer, key, obj1);
break;
case PdfIsoKeys.PDFISOKEY_STRUCTELEM:
if(CheckStructure(conformanceLevel))
CheckStructElem(writer, key, obj1);
break;
default:
break;
}
}