This method displays a dialog that allows the properties of the selected annotation object to be changed.

[Visual Basic] As Boolean Public Function ShowPropertyDialog()
[C#] public bool ShowPropertyDialog();

Parameters

None

Return Value

Returns True if successful, otherwise returns False

Explanation

The ShowPropertyDialog method displays a dialog that allows the properties of the selected annotation object to be changed.

When the EditKind property is set to KindOfEdit.Select and an annotation object has been selected, executing the ShowPropertyDialog method will display a dialog allowing that object's properties to be changed. When the EnableTextDialog property is True and the selected object is a text object, the text object's extended dialog will be displayed.

The properties that can be changed with this dialog are different depending on the annotation object selected and only those properties that can be changed will be displayed in this dialog.

Below is a list of annotation objects and their properties that can be changed via this dialog:

Line, Polyline, Pen: Line color, line width, and double line

Polygon, Rectangle, Ellipse : Line color, fill (on or off), fill color, line width, and border

Text: Text color, background (on or off), background color, line width, font, whether text will be word wrapped to fit within the text object rectangle or not, and the text content.

Image: Image file, aspect ratio

Right clicking on the image displayed in the ImageKit Control brings up the context menu where you can choose "Properties". This has the same effect as executing the ShowPropertyDialog method. For more details about the context menu, please refer to the ContextMenuEnable property.

See also

ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET2 is created by Newtone Corporation