LEAD Technologies, Inc

WPF AnnStampObject

Note: This topic is for Document/Medical only. The stamp annotation object (AnnStampObject) can be a bitmap image or a text string in a rectangular frame. With the automated functions, the user clicks and drags to specify a rectangle. Then, if the user specifies a text string, the text is centered in the rectangle. If the user specifies a bitmap, the bitmap is scaled to fit the rectangle. On a device that displays 256 colors or less, you should use a fixed palette when displaying bitmaps. Otherwise, a palette shift will occur on stamp objects containing bitmaps. Programmatically, the boundaries and location of the stamp object can be controlled using the following properties: The AnnStampObject class inherits a number of properties from the AnnObject class that provide support for font, pen and brush characteristics. These properties are listed below: The AnnStampObject class inherits a number of text properties from the AnnTextObject class that provide support for text alignment, margins, etc. These properties are listed below: The name of the stamp object can be controlled using the following properties, inherited from the AnnObject class: The following properties may be used in transforming a stamp annotation object: An object can be part of a group annotation object or part of a container object. It cannot be part of both a group and a container at the same time. The following properties can also be used to programmatically set characteristics of an AnnStampObject class object:

For more information about the automated stamp annotation object, refer to WPF Annotation Objects - Automated Features and WPF Automated Annotations - Stamp Picture Tab.

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.