Features

Features

Aspose.PDF FOSS for .NET provides a broad set of PDF processing capabilities across several functional areas. All features are available without a license key under the MIT License.


Document management

Create new PDF documents, open existing files from disk or byte arrays, add and remove pages, and save or serialise documents back to streams or files.

Key classes: Document, Page, PageCollection


Annotations

Read, create, and modify the full range of PDF annotation types including text notes, link annotations, ink annotations, file attachments, caret annotations, and stamp annotations. Annotations are accessed through Page.Annotations and typed via the AnnotationType enumeration.

Key classes: Annotation, AnnotationCollection, LinkAnnotation, AnnotationType


PDF actions

Attach URI, GoTo, JavaScript, named, and launch actions to link annotations or as document-level open actions. Actions are created through the PdfAction factory and typed via ActionType.

Key classes: PdfAction, GoToAction, JavascriptAction, NamedAction, ActionType


Forms and fields

Access interactive AcroForm fields (text boxes, check boxes, choice lists), read field values, and enumerate field collections through Document.Form.

Key classes: Form, Field, CheckboxField, ChoiceField, TextBoxField


Text extraction

Extract text fragments and character information from any page using TextFragmentAbsorber. Navigate text segments and inspect font properties.

Key classes: TextFragmentAbsorber, TextFragment


Image handling

Work with image resources embedded in a PDF and convert between supported raster formats using the ImageFormat enumeration (Bmp, Jpeg, Png, Tiff, Gif, and others).

Key classes: ImageFormat


Content-stream parsing

Parse PDF content streams at the operator level using Operator and OperatorCollection. Inspect graphics state transitions including fill/stroke alpha and blend mode through ExtGState.

Key classes: Operator, OperatorCollection, ExtGState, GraphicsState


JavaScript field extensions

Apply Acrobat-compatible JavaScript field-formatting rules in managed code. FieldDateTimeFormatter formats date/time strings using Acrobat-style format patterns. FieldNumberCurrencyFormatter formats numeric values as currency. FieldNumberPercentFormatter formats numeric values as percentages.

Key classes: FieldDateTimeFormatter, FieldNumberCurrencyFormatter, FieldNumberPercentFormatter


Facades

Use FormattedText to describe styled text for stamp and mend operations. Font style and encoding are controlled through the FontStyle and EncodingType enumerations.

Key classes: FormattedText, FontColor, FontStyle, EncodingType

See Also

 English