Some test text!

keyboard_arrow_down

Get started

Download PDFTron SDK
play_arrow

Quick start - view a document

Xamarin.AndroidXamarin.iOSIntegrate with NuGetIntegrate manuallyRun samplesAdd license keyUpdate to latest version
keyboard_arrow_down

Xamarin.Forms

keyboard_arrow_down

Fundamentals

keyboard_arrow_down

FAQ

System requirementsPDFTron full vs. standardReduce size of APK
keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

Overview
play_arrow

PDFViewCtrl

play_arrow

Reflow

Xamarin.AndroidXamarin.iOSQuick menuCustomize quick menu
play_arrow

Annotation toolbar

Xamarin.AndroidXamarin.iOS
play_arrow

Annotation style editor

play_arrow

Page slider

Xamarin.AndroidXamarin.iOS
play_arrow

List container

play_arrow

Annotation list

Xamarin.AndroidXamarin.iOS
play_arrow

Document outline

Xamarin.AndroidXamarin.iOS
play_arrow

User bookmark list

Xamarin.AndroidXamarin.iOS
play_arrow

Thumbnail browser

Xamarin.AndroidXamarin.iOSAdd pages dialogCrop pages dialogRotate pages dialogView mode dialog
keyboard_arrow_down

Annotation and collaboration

OverviewToolManager setupRead only mode
play_arrow

Disable annotation creation and editing

play_arrow

Default annotation properties

Xamarin.AndroidXamarin.iOS
play_arrow

Change tool mode

play_arrow

Events

play_arrow

Override annotation handling

Show and hide existing annotationsRealtime collaboration
keyboard_arrow_down

Advanced customization

play_arrow

Add a custom view to a page

Create a custom toolPage coloring modePage fit modePage layout modeScrolling direction
keyboard_arrow_down

Conversion

keyboard_arrow_down

Parsing and extraction

keyboard_arrow_down

Digital signatures

keyboard_arrow_down

Search

keyboard_arrow_down

Advanced topics

PrintUnderstand coordinatesGenerate page thumbnails
keyboard_arrow_down

Troubleshooting

Reduce memory consumption
keyboard_arrow_down

Reference

LocalizationIcon cheat sheet
keyboard_arrow_down

PDF Processing API

What is PDFNet?Opening a documentSerializing (saving) a documentWorking with pagesWorking with Page ContentWorking with BookmarksWorking with Interactive Forms (AcroForms)PDF SecurityLow-level PDF APIError handling

Default annotation properties

In this document
chevron_rightExamples
This tutorial only applies to Xamarin.iOS.
When creating a new annotation, the initial properties (such as line thickness, fill colour, opacity, etc.) are set to the last value that the user selected for an annotation of that type. For example, if the user changes an ellipse annotation's stroke color from green to red, the next ellipse annotation that the user creates would have a stroke color of red. These default colors are saved in the app's user default dictionary.

The tools read and write values via the Tools packageColorDefaults type (class) interface.

linkExamples

Sets the default stroke color for rectangle annotations.

Available properties:

Property nameKey
Stroke color"Color"
Fill color"FillColor"
Opacity"Opacity"
Border thickness"BorderThickness"
Free text size"FreeTextSize"

Reads the default fill color for ellipse annotations.