'Declaration
Public Property ScrollBars As Boolean
public bool ScrollBars {get; set;}
public read-write property ScrollBars: Boolean;
public function get,set ScrollBars : boolean
If this property is set to true, the scrollbars appear when the area to render is larger than the control. Turning this property to false forces both scrollbars to be always invisible, whatever the zoom configuration is.
'Declaration
Public Property ScrollBars As Boolean
public bool ScrollBars {get; set;}
public read-write property ScrollBars: Boolean;
public function get,set ScrollBars : boolean
'We assume that the GdViewer1 control has been properly integrated 'and your document has been properly displayed as well. If (GdViewer1.HScrollVisible = False) OrElse (GdViewer1.VScrollVisible = False) Then GdViewer1.ScrollBars = True GdViewer1.ForceScrollBars = True End If
//We assume that the GdViewer1 control has been properly integrated //and your document has been properly displayed as well. if ((GdViewer1.HScrollVisible == false) || (GdViewer1.VScrollVisible == false)) { GdViewer1.ScrollBars = true; GdViewer1.ForceScrollBars = true; }