Accusoft.NotateXpressSdk Namespace > NotateXpress Class : AllowPaint Property |
'Declaration <CategoryAttribute("NotateXpress")> <BrowsableAttribute(True)> <DescriptionAttribute("Inidciates whether annotations are painted and rendered to the display")> Public Property AllowPaint As Boolean
'Usage Dim instance As NotateXpress Dim value As Boolean instance.AllowPaint = value value = instance.AllowPaint
[Category("NotateXpress")] [Browsable(true)] [Description("Inidciates whether annotations are painted and rendered to the display")] public bool AllowPaint {get; set;}
[Category("NotateXpress")] [Browsable(true)] [Description("Inidciates whether annotations are painted and rendered to the display")] public: __property bool get_AllowPaint(); public: __property void set_AllowPaint( bool value );
This property is useful when you are loading a TIFF file that contains multiple layers and you only want to show one layer at a time. You can set this property to false, load the TIFF file, then iterate through the layers using the Layer.Select method and setting the layers' Layer.Visible property. When you have iterated through all the layers, you can then set the AllowPaint to true.