WangAttributeDataCreateImageReferenceAttribute Method |
Creates a new instance of WangAttributeData for an ImageReference annotation.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static WangAttributeData CreateImageReferenceAttribute(
RectangleF bounds,
string fileName,
bool transparent
)
Public Shared Function CreateImageReferenceAttribute (
bounds As RectangleF,
fileName As String,
transparent As Boolean
) As WangAttributeData
Parameters
- bounds
- Type: System.DrawingRectangleF
The bounding rectangle of the annotation. - fileName
- Type: SystemString
The filename of the image. - transparent
- Type: SystemBoolean
A value indicating whether white pixels are rendered as transparent.
Return Value
Type:
WangAttributeData A WangAttributeData containing the annotation data.
See Also