Click or drag to resize

SilverlightAnnotationWebHandlerGetXmpData Method

Returns a byte array of XMP data for the specified image.

Namespace:  Atalasoft.Annotate.Silverlight
Assembly:  Atalasoft.dotImage.Silverlight.Web (in Atalasoft.dotImage.Silverlight.Web.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public byte[] GetXmpData(
	ServerFileInformation serverFile,
	bool createPacket
)

Parameters

serverFile
Type: Atalasoft.Imaging.SilverlightServerFileInformation
A ServerFileInformation for the image to retrieve annotation from.
createPacket
Type: SystemBoolean
A value indicating whether the data should be formatted as an XMP packet. This is required when embedding the data into an image.

Return Value

Type: Byte
A byte array of XMP data or null (Nothing in VB) if the image did not have annotations.
Exceptions
ExceptionCondition
Thrown if the server file is null (Nothing in VB).
Thrown if this method is called outside of a remote invoke operation.
See Also