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

[Visual Basic] Public Function ShowPropertyDialog() As Boolean
[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. The dialog displayed and the properties that can be changed will depend on the object that is selected. By setting property values for properties whose names start with "Dialog...Visible" or start with "Dialog....Enabled", you can determine which of an object's properties will be displayed / enabled in that object's Properties Dialog.

A full list of this properties is given below:

DialogAngleEnabled, DialogAngleVisible, DialogAspectRatioEnabled, DialogAspectRatioVisible, DialogBackColorEnabled, DialogBackColorOpacityEnabled, DialogBackColorOpacityVisible, DialogBackColorVisible, DialogBorderColorVisible, DialogBorderEnabled, DialogBorderShapeEnabled, DialogBorderShapeVisible, DialogBorderVisible, DialogClosePenLineEnabled, DialogClosePenLineVisible, DialogDashStyleEnabled, DialogDashStyleVisible, DialogDoubleLineEnabled, DialogDoubleLineVisible, DialogEndArrowCapEnabled, DialogEndArrowCapFilledEnabled, DialogEndArrowCapFilledVisible, DialogEndArrowCapSizeEnabled, DialogEndArrowCapSizeVisible, DialogEndArrowCapVisible, DialogEndLineCapEnabled, DialogEndLineCapVisible, DialogFillEnabled, DialogFillVisible, DialogFontBoldEnabled, DialogFontBoldVisible, DialogFontItalicEnabled, DialogFontItalicVisible, DialogFontNameEnabled, DialogFontNameVisible, DialogFontSizeEnabled, DialogFontSizeVisible, DialogFontStrikeoutEnabled, DialogFontStrikeoutVisible, DialogFontUnderlineEnabled, DialogFontUnderlineVisible, DialogForeColorEnabled, DialogForeColorOpacityEnabled, DialogForeColorOpacityVisible, DialogForeColorVisible, DialogImageFileNameEnabled, DialogImageFileNameVisible, DialogLineJoinEnabled, DialogLineJoinVisible, DialogMaxPenWidth, DialogPenWidthEnabled, DialogPenWidthVisible, DialogRightToLeftEnabled, DialogRightToLeftVisible, DialogRoundRectangleRadiusEnabled, DialogRoundRectangleRadiusVisible, DialogStartArrowCapEnabled, DialogStartArrowCapFilledEnabled, DialogStartArrowCapFilledVisible, DialogStartArrowCapSizeEnabled, DialogStartArrowCapSizeVisible, DialogStartArrowCapVisible, DialogStartLineCapEnabled, DialogStartLineCapVisible, DialogTextAlignEnabled, DialogTextAlignVisible, DialogTextEnabled, DialogTextVisible, DialogVerticalTextEnabled, DialogVerticalTextVisible, DialogWordWrapEnabled, DialogWordWrapVisible,

 

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. To suppress the standard Properties Dialog and display a custom dialog, please refer to the CustomDialog property.

See also

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation