ArcObjects Library Reference (Output)  

IExportPDF2.ExportPDFLayersAndFeatureAttributes Property

PDF Layers and Feature Attributes option.

[Visual Basic .NET]
Public Property ExportPDFLayersAndFeatureAttributes As esriExportPDFLayerOptions
[C#]
public esriExportPDFLayerOptions ExportPDFLayersAndFeatureAttributes {get; set;}
[C++]
HRESULT get_ExportPDFLayersAndFeatureAttributes(
  esriExportPDFLayerOptions* pOption
);
[C++]
HRESULT put_ExportPDFLayersAndFeatureAttributes(
  esriExportPDFLayerOptions pOption
);
[C++]

Parameters

pOption [out, retval]

  pOption is a parameter of type esriExportPDFLayerOptions

pOption [in]

  pOption is a parameter of type esriExportPDFLayerOptions

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

PDF files can include advanced functionality in addition to their usage as a graphic interchange format. PDFs can contain layers corresponding to the layers in the map, so that users can enable and disable the visibility of layers and layout elements when viewing the PDF. Additionally, PDF files can contain attribute information that users can query and identify using the Object Data tool in Adobe Reader and Adobe Acrobat.

The value of the ExportPDFLayersAndFeatureAttributes property determines whether PDF layers and PDF object data (attributes) will be present in the exported PDF file.

 

 esriExportPDFLayerOptionsNone -  the exported file will not contain PDF layers or PDF object data
 esriExportPDFLayerOptionsLayersOnly - the exported file will contain PDF layers but no PDF object data
 esriExportPDFLayerOptionsLayersAndFeatureAttributes - the exported file will contain PDF layers and PDF object data

Exporting feature attributes to PDF object data can lead to performance problems when viewing the file in supported PDF readers. If possible, limit exported fields to one layer per map. To suppress field export, turn off field visibility via the IFieldInfo2 interface.

 

See Also

IExportPDF2 Interface