Click or drag to resize

XmpFormatter Constructor (Formatting, Int32, Encoding, Boolean, Boolean, PointF)

Creates a new instance of XmpFormatter specifying formatting, indentation, encoding, whether or not data should be formatted as an XMP packet, whether to SkipUnknownObjects, and a resolution.

Namespace:  Atalasoft.Annotate.Formatters
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public XmpFormatter(
	Formatting formatting,
	int indentation,
	Encoding encoding,
	bool packet,
	bool skipUnknownObjects,
	PointF resolution
)

Parameters

formatting
Type: System.XmlFormatting
Specifies formatting options for the XmlTextWriter.
indentation
Type: SystemInt32
The number of characters to use for indentation.
encoding
Type: System.TextEncoding

The System.Text.Encoding to use when serializing the annotations.

packet
Type: SystemBoolean
Indicates if the data should be formatted as an XMP packet.
skipUnknownObjects
Type: SystemBoolean
Indicates if the formatter should ignore unknown objects or raise an exception.
resolution
Type: System.DrawingPointF
The resolution of the annotations.
See Also