Aspose.PDF FOSS for C++

API reference for Aspose.PDF FOSS for C++ v1.0.1. 245 public types organized by module.

Aspose

ClassDescription
AlignmentTypeClass with 4 methods.
AnnotationClass with 36 methods.
AnnotationCollectionClass with 11 methods.
AnnotationSelectorClass with 35 methods and 1 property.
ArtifactClass with 14 methods.
ArtifactCollectionClass with 7 methods and 1 property.
BarcodeFieldClass with 6 methods.
BaseParagraphClass with 23 methods and 1 property.
BitmapInfoBitmapInfo enables creation of raw bitmap images with specified pixel format, width, height, and pixel data, supporting image handling without external dependencies.
BleedMarkAnnotationBleedMarkAnnotation.Accept(visitor) implements the visitor pattern, allowing external visitor objects to process the annotation without exposing its internal structure.
BmpDeviceClass with 1 method.
BookmarkClass with 35 methods.
BookmarksBookmarks can be organized hierarchically; use Bookmark.ChildItem() or Bookmark.ChildItems() to access nested Bookmarks and set properties such as Action, Destination, and display flags like BoldFlag and ItalicFlag.
BorderBorder appearance can be customized by setting its Width, Style, Effect, EffectIntensity, and corner radii via the Border class methods.
BorderInfoBorderInfo provides getters and setters for each side’s GraphInfo via Left(), Right(), Top(), Bottom() and a RoundedBorderRadius property for rounded corners.
ButtonFieldClass with 11 methods.
CaretAnnotationClass with 5 methods.
CellClass with 27 methods.
CellsClass with 9 methods.
CharacteristicsClass with 3 methods.
CheckboxFieldCheckboxField enables creation of interactive check‑box form fields, with methods to set style, active state, checked flag, and export value.
ChoiceFieldClass with 14 methods.
CircleClass with 7 methods.
CircleAnnotationCircleAnnotation lets developers add circular annotation objects to a PDF page and process them via the visitor pattern.
ColorThe Color class offers a full set of predefined color factories (e.g., Color::Blue(), Color::Black()) and methods to create custom colors from ARGB or RGB components, enabling consistent color handling in PDF content.
ColorBarAnnotationClass with 3 methods.
ComboBoxFieldClass with 5 methods.
CommonFigureAnnotationCommonFigureAnnotation lets developers define figure annotations by setting an interior colour and a rectangular frame.
CornerPrinterMarkAnnotationClass with 2 methods.
DateFieldClass with 4 methods.
DefaultAppearanceClass with 8 methods.
DeviceThe Device base class provides a virtual destructor, ensuring proper cleanup of derived raster‑device objects such as PngDevice or JpegDevice.
DocMDPSignatureClass with 1 method.
DocumentDocument metadata can be read via Document.Info() and the accessor methods Title(), Author(), Creator(), Producer(), Subject(), and Keywords().
DocumentDeviceClass with 4 methods.
DocumentInfoClass with 24 methods and 1 property.
DocumentPrivilegeDocumentPrivilege lets developers query and modify PDF permission flags such as printing, copying, and form filling.
EllipseClass with 9 methods.
EmbeddedFileCollectionEmbeddedFileCollection provides Count() to retrieve the total number of embedded files and Keys() to obtain a list of their identifiers.
EncodingEncoding enum lists the standard PDF character encodings that can be selected for text extraction and output.
ExplicitDestinationClass with 3 methods.
ExternalSignatureClass in the Pdf CPP API.
FacadeFacade.BindPdf overloads accept either a file path string (srcFile) or an existing Aspose::Pdf::Document (srcDoc) to load PDF content.
FieldField.Recalculate() recomputes the value of a form field and returns true on success.
FileAttachmentAnnotationFileAttachmentAnnotation.File() gets or sets the attached file via a FileSpecification object, allowing embedding of external resources in a PDF.
FileSelectBoxFieldClass with 1 method.
FileSpecificationFileSpecification objects allow setting metadata for embedded files, including MIME type, description, Unicode name, and compression via the Encoding property.
FitBExplicitDestinationClass with 1 method.
FitBHExplicitDestinationClass with 2 methods.
FitBVExplicitDestinationClass with 2 methods.
FitExplicitDestinationClass with 1 method.
FitHExplicitDestinationClass with 2 methods.
FitRExplicitDestinationClass with 5 methods.
FitVExplicitDestinationClass with 2 methods.
FloatingBoxFloatingBox.Width() returns the current width of the box as a double, and FloatingBox.Width(value) sets a new width.
FontThe Font class lets developers query whether a font is embedded in the PDF and whether it is subsetted, enabling compliance checks for PDF/A.
FontRepositoryClass with 2 methods.
FormForm text box fields can have a barcode added programmatically by calling AddBarcode(code) on a TextBoxField instance.
FormEditorFormEditor class allows programmatic creation, modification, and removal of AcroForm fields within a PDF document.
FormFieldFacadeClass with 30 methods and 26 properties.
FreeTextAnnotationClass with 23 methods.
GoToActionClass with 4 methods.
GoToURIActionClass with 4 methods.
GraphClass with 16 methods.
GraphInfoGraphInfo class encapsulates drawing attributes such as line width, colour, dash pattern, and geometric transformations for vector graphics.
HighlightAnnotationClass with 1 method.
HyperlinkClass with 6 methods and 1 property.
IconFitIconFit allows fine‑grained control of form field scaling; developers can set ScalingReason, ScalingMode, and leftover margins before rendering.
ImageDeviceImageDevice.GetBitmap(page) returns a BitmapInfo object that contains the rasterised image of the specified page.
InkAnnotationInkAnnotation represents free‑hand ink strokes; its InkList property holds a StrokeList that can be read or replaced.
JavascriptActionJavascriptAction encapsulates a JavaScript snippet attached to PDF objects; the script can be retrieved or updated via Script() getter/setter.
JpegDeviceClass with 1 method.
LineClass with 3 methods.
LineAnnotationClass with 25 methods.
LinkAnnotationLinkAnnotation enables clickable areas in a PDF that can trigger a PdfAction or navigate to a named destination.
ListBoxFieldClass with 3 methods.
LoadOptionsClass with 3 methods.
MarginInfoMarginInfo allows precise control of page margins with double-precision getters and setters for left, right, top, and bottom values.
MarginsMargins provides getters and setters for the four page margin values (Left, Right, Top, Bottom).
MarkupAnnotationMarkupAnnotation provides methods to set review state, opacity, title, and rich text for comment‑type annotations.
MetadataMetadata class implements a dictionary-like interface with Add(key, value), Remove(key), and TryGetValue(key, value) for managing XMP metadata entries.
MovieAnnotationMovieAnnotation lets you embed a video file in a PDF, with properties for title, poster flag, aspect ratio, and rotation.
NamedActionClass with 3 methods.
NamedDestinationNamedDestination provides Name() to obtain the destination’s string identifier and ToString() for a human‑readable representation.
NamedDestinationCollectionClass with 6 methods and 1 property.
NumberFieldClass with 3 methods.
OptionClass with 8 methods.
OptionCollectionClass with 9 methods.
OutlineCollectionOutlineCollection represents the document’s bookmark tree, enabling hierarchical navigation of PDF content.
OutlineItemCollectionClass with 18 methods.
OutlinesClass with 12 methods.
PKCS1Class with 1 method.
PKCS7Class with 1 method.
PKCS7DetachedClass with 1 method.
PagePage labels (e.g., Roman numerals, custom prefixes) are managed through PageLabel and PageLabelCollection classes.
PageCollectionThe PageCollection class provides methods to add a new blank page, insert a page at a specific position, and delete pages by number or range.
PageDevicePageDevice.Process(page, outputFileName) can render a page directly to a file path.
PageInformationAnnotationClass with 1 method.
PageLabelPageLabel.StartingValue() gets or sets the numeric start for a page label sequence.
PageLabelCollectionPageLabelCollection.GetLabel(pageIndex) retrieves the PageLabel assigned to a specific page.
PageSizePageSize.Width() and Height() get or set the page dimensions, while IsLandscape() indicates orientation.
ParagraphsParagraphs.Add(paragraph) inserts a new paragraph at the end of a collection, while Insert(index, paragraph) inserts a paragraph at a specific position.
PasswordBoxFieldPasswordBoxField can be instantiated with its default constructor to create a password input field for PDF forms.
PdfActionPdfAction.GetECMAScriptString() returns the JavaScript code attached to a PDF action, enabling inspection or modification of interactive scripts.
PdfAnnotationEditorPdfAnnotationEditor can import annotations from FDF or XFDF files and flatten them into the page content, removing interactive elements.
PdfBookmarkEditorPdfBookmarkEditor.CreateBookmarkOfPage(title, pageNumber) adds a new bookmark that points to the specified page.
PdfContentEditorPdfContentEditor.ReplaceText(srcText, destText) searches the entire document and replaces matching strings, returning true when at least one replacement occurs.
PdfConverterThe PdfConverter class enables developers to rasterize PDF pages into multi‑page TIFF images using a single method call.
PdfExtractorPdfExtractor extracts text by calling ExtractText() and then GetText(outputFile) to write the extracted plain‑text to a file.
PdfFileEditorPdfFileEditor offers high‑level file manipulation operations such as concatenation, splitting, and page extraction without requiring a full Document load.
PdfFileInfoPdfFileInfo provides getters and setters for standard metadata fields such as Author, Creator, and custom keys via GetMetaInfo(name) and SetMetaInfo(name, value).
PdfFileSecurityClass with 20 methods.
PdfFileSignatureClass with 41 methods.
PdfFileStampClass with 26 methods and 8 properties.
PdfPageEditorClass with 28 methods and 16 properties.
PdfXmpMetadataClass with 15 methods.
PngDeviceClass with 3 methods.
PointPoint.X() and Point.Y() retrieve the X and Y coordinates of a point, while the overloads set new coordinate values.
PolyAnnotationClass with 11 methods.
PolygonAnnotationClass with 1 method.
PolylineAnnotationPolylineAnnotation.Accept(visitor) enables a visitor object to process the annotation according to the Visitor pattern.
PopupAnnotationClass with 5 methods.
PositionThe Position class provides XIndent and YIndent getters and setters to fine‑tune the horizontal and vertical offset of annotations.
PrinterMarkAnnotationPrinterMarkAnnotation can insert printer marks such as trim, bleed, registration, or colour bars into an entire document or a single page via AddPrinterMarks.
RadioButtonFieldClass with 7 methods.
RadioButtonOptionFieldRadioButtonOptionField represents a single option in a radio‑button group, exposing OptionName() and Style() accessors.
Rectangle-Aspose_Pdf_DrawingClass with 11 methods.
Rectangle-Aspose_PdfClass with 28 methods.
RedactionAnnotationRedactionAnnotation lets you permanently remove content while optionally overlaying custom text, fill colour, border colour and font size.
RegistrationMarkAnnotationClass with 3 methods.
RenderingOptionsClass with 26 methods.
ResolutionResolution stores horizontal and vertical DPI via X() and Y() getters and setters.
ResourcesClass with 3 methods and 1 property.
RichMediaAnnotationRichMediaAnnotation enables embedding of Flash or other rich media with activation events and custom variables.
RichTextBoxFieldRichTextBoxField provides a form field that stores rich text with styling, justification, and formatted value.
RowClass with 23 methods.
RowsRows and Row classes provide a table model for building PDF tables with per‑cell styling, borders, and padding.
SaveableFacadeSaveableFacade offers a simple interface to persist PDF objects to a file path via Save(destFile).
ScreenAnnotationScreenAnnotation allows getting and setting the annotation title through Title() getter and Title(value) setter.
ShapeShape represents vector graphics and offers a GraphInfo property for low‑level shape data and a CheckBounds method to verify fitting within a container.
SignatureSignature objects allow creation and verification of detached PKCS#7 signatures on PDF documents.
SignatureCustomAppearanceSignatureCustomAppearance lets developers customize the visual appearance of a digital signature, including foreground image flag, font family, font size, foreground and background colors, and visibility of contact info, reason, and location.
SignatureFieldClass with 2 methods.
SignatureNameSignatureName.HasSignature() returns true if the PDF contains a detached PKCS#7 signature, and ToString() provides a textual representation of the signature name.
SoundAnnotationClass with 3 methods.
SquareAnnotationClass with 1 method.
SquigglyAnnotationClass with 1 method.
StampAnnotationClass with 5 methods.
StrikeOutAnnotationClass with 1 method.
SubmitFormActionClass with 5 methods.
SvgLoadOptionsSvgLoadOptions allows SVG files to be imported with optional page‑size adjustment via the AdjustPageSize property.
TableThe Table class lets developers construct PDF tables with full control over rows, column widths, borders, cell padding, and default text state.
TextAbsorberClass with 6 methods and 1 property.
TextAnnotationTextAnnotation supports opening a sticky‑note annotation with Open() and setting its icon via Icon() and Icon(value).
TextBoxFieldClass with 15 methods.
TextBuilderClass with 2 methods.
TextDeviceTextDevice lets developers set the character encoding used during text extraction via SetEncoding(encoding) and retrieve the current encoding with GetEncoding().
TextFragmentClass with 7 methods.
TextFragmentAbsorberTextFragmentAbsorber extracts positioned text fragments together with font, size, and colour information.
TextFragmentCollectionClass with 2 methods.
TextFragmentStateClass with 1 method.
TextMarkupAnnotationClass with 4 methods.
TextParagraphClass with 18 methods.
TextStateThe TextState class provides getters and setters for font, font size, foreground/background/stroking colors, and text decorations such as underline, strike‑out, subscript, and superscript.
TextStyleClass with 9 methods.
TiffDeviceClass with 11 methods.
TiffSettingsClass with 13 methods.
TrimMarkAnnotationTrimMarkAnnotation and UnderlineAnnotation both support the visitor pattern via an Accept method that forwards the annotation to a visitor object.
UnderlineAnnotationClass with 1 method.
VerticalAlignmentTypeVerticalAlignmentType offers static factory methods Top(), Center(), and Bottom() to obtain alignment objects, and ToString() to obtain their textual representation.
WatermarkAnnotationWatermarkAnnotation enables adding a visual watermark to a PDF page and lets developers control its transparency.
WatermarkArtifactClass in the Pdf CPP API.
WidgetAnnotationWidgetAnnotation provides access to AcroForm field attributes such as ReadOnly, Required, Exportable, and DefaultAppearance.
XFAXFA provides access to XML‑based XFA form data; calling FieldNames() yields a list of all field identifiers present in the XFA document.
XImageXImage exposes the pixel dimensions of an image via Width() and Height() methods.
XImageCollectionXImageCollection manages multiple XImage objects, providing Add, Replace, Delete, and Clear operations.
XYZExplicitDestinationXYZExplicitDestination supplies the three components of a PDF destination: Left(), Top(), and Zoom(), each returning a double value.
XmpValueXmpValue offers conversion helpers such as ToString(), ToInteger(), ToDouble(), and ToArray() to retrieve typed XMP metadata values.

Enumerations

EnumerationDescription
AFRelationshipAFRelationship enum values (Source, Data, Alternative, Supplement, Unspecified, EncryptedPayload, None) allow developers to specify the nature of an embedded file relationship within a PDF.
AlgorithmEnum with 2 members.
AnnotationFlagsAnnotationFlags enum includes a Locked flag that, when set, prevents further modifications to the annotation’s properties.
AnnotationStateAnnotationState enum defines the possible lifecycle states of an annotation, including Marked, Unmarked, Accepted, Rejected, Cancelled, Completed, and None.
AnnotationStateModelEnum with 3 members.
AnnotationTypeEnum with 33 members.
AutoRotateModeThe AutoRotateMode enum lets developers specify how pages should be automatically rotated during rendering, with options None, ClockWise, and AntiClockWise.
BlendingColorSpaceBlendingColorSpace enum lets developers choose how colour values are blended when rendering PDF content, offering options such as Auto, DeviceRGB, and DeviceCMYK.
BorderEffectBorderEffect enum provides visual border styles, with values None and Cloudy, for use in annotation appearance.
BorderSideEnum with 7 members.
BorderStyleBorderStyle enum provides five visual styles (Solid, Dashed, Beveled, Inset, Underline) for drawing annotation borders.
BoxStyleEnum with 6 members.
CapStyleEnum with 2 members.
CaptionPositionEnum with 2 members.
CaretSymbolCaretSymbol enum (None, Paragraph) specifies whether a caret is rendered as a simple marker or as a paragraph break during text extraction.
ColorDepthEnum with 5 members.
ColorsOfCMYKEnum with 4 members.
CompressionTypeCompressionType enum lists the image compression algorithms (LZW, CCITT4, CCITT3, RLE, None) that the library can apply to PDF streams.
CryptoAlgorithmEnum with 4 members.
DataTypeEnum with 6 members.
DefaultMetadataPropertiesDefaultMetadataProperties enum enumerates the standard metadata fields (Advisory, BaseURL, CreateDate, CreatorTool, Identifier, MetadataDate, ModifyDate, Nickname, Thumbnails) that can be accessed via the library’s metadata API.
DocMDPAccessPermissionsThe DocMDPAccessPermissions enum defines the allowed modifications on a signed PDF: NoChanges prevents any edits, FillingInForms allows form filling, and AnnotationModification permits annotation changes.
EncodingTypeEnum with 7 members.
ExplicitDestinationTypeEnum with 8 members.
FieldTypeFieldType enum defines the supported AcroForm field types such as Text, CheckBox, Radio, and Signature, allowing developers to create appropriate form fields in PDFs.
FileEncodingEnum with 2 members.
FileIconEnum with 4 members.
FontStyleFontStyle enum enumerates the standard 14 PDF fonts and their common styles, enabling selection of Courier, Helvetica, TimesRoman, Symbol, and their bold/oblique variants.
FormPresentationModeEnum with 2 members.
FormTypeEnum with 3 members.
FreeTextIntentEnum with 4 members.
HighlightingModeHighlightingMode enum defines visual styles for text‑highlight annotations, including None, Invert, Outline, Push, and Toggle.
HorizontalAlignmentEnum with 6 members.
IconCaptionPositionEnum with 7 members.
ImageMergeModeImageMergeMode enum allows merging multiple images vertically, horizontally, or centering them when composing a single output.
JustificationEnum with 3 members.
KeySizeKeySize enum defines the supported encryption key lengths (40, 128, 256 bits) for PDF security operations.
LineEndingEnum with 10 members.
LineIntentLineIntent enum distinguishes between undefined lines, arrowed lines, and dimension lines for line annotations.
NumberingStyleEnum with 6 members.
PageCoordinateTypePageCoordinateType enum values MediaBox and CropBox let developers choose which page rectangle is used for coordinate calculations.
PasswordTypeEnum with 4 members.
PdfFormatEnum with 27 members.
PermissionsEnum with 8 members.
PolyIntentEnum with 4 members.
PositioningModeEnum with 3 members.
PredefinedActionEnum with 71 members.
PrinterMarkCornerPositionEnum with 4 members.
PrinterMarkSidePositionEnum with 4 members.
PrinterMarksKindEnum with 7 members.
PropertyFlagPropertyFlag enum defines the bit flags ReadOnly, Required, NoExport, and InvalidFlag for use with form‑field property settings.
ReplyTypeReplyType enum distinguishes between Reply, Group, and Undefined reply categories.
RichTextFontStylesEnum with 4 members.
RotationRotation enum provides four orientation values: None, on90, on180, on270.
ScalingModeScalingMode enum defines Proportional and Anamorphic scaling options for image transformations.
ScalingReasonScalingReason enum indicates when scaling should be applied: Always, IconIsBigger, IconIsSmaller, or Never.
ShapeTypeShapeType enum (None, Landscape, Portrait) indicates the orientation of vector shapes when they are added to a PDF page.
SoundIconEnum with 2 members.
StampIconEnum with 14 members.
StampTypeEnum with 2 members.
SubjectNameElementsEnum with 7 members.
SubmitFormFlagEnum with 6 members.
SymbologyEnum with 3 members.
TextAlignmentTextAlignment enum provides Left, Center, and Right values for horizontal text alignment within a Cell.
TextIconTextIcon enum supplies a set of standard glyph identifiers (e.g., Note, Comment, Key) that can be used to specify the visual icon for a text annotation.
VerticalAlignmentEnum with 4 members.
WordWrapModeWordWrapMode enum defines two text wrapping strategies: Default and ByWords.

See Also

 English