htmlviewer Margins structure
Return to Introduction  Previous page  Next page
Applies to
acHTMLViewer component.  

Declaration
type  
  TacHTMLViewerMargin = -1..MaxInt;  
  TacHTMLViewerMargins = class(TPersistent)  
    property Left: TacHTMLViewerMargin;  
    property Top: TacHTMLViewerMargin;  
    property Right: TacHTMLViewerMargin;  
    property Bottom: TacHTMLViewerMargin;  
  end;  
 
property Margins: TacHTMLViewerMargins;  

Description
The Margins structure controls the spacing between the border of HTMLViewer and its contents.  
 
tip Set all margins to 0, if you wish to show the contents of HTMLViewer without any spacing.  

See also
HTML and BorderStyle properties.