This documentation is for the old version. Go to the latest Graphics Mill docs

BitmapViewer.AutoPostBack Property

Gets/sets a value indicating whether a postback to the server automatically occurs when the user zooms or scrolls the bitmap.

Namespace: Aurigma.GraphicsMill.WebControls
Assembly: Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.dll)

Syntax

Visual Basic
<BrowsableAttribute(True)> _
Public Property AutoPostBack As Boolean
C#
[BrowsableAttribute(true)]
public bool AutoPostBack { get; set; }

Property Value

The value which is true when a postback to the server automatically occurs whenever the user navigates the bitmap in the BitmapViewer; false otherwise.

Remarks

If you want to disable automatic postback for certain events (e.g. Zoomed) and enable it for other ones (e.g. Click), you can use the ClientSideOptions property. It exposes a boolean property for each event.

If AutoPostBack is true, postback occurs regardless to values of properties of the BitmapViewerClientSideOptions object returned by the ClientSideOptions property.

Default value is false.

See Also

Reference