Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   SetHTMLImageMaxWidth
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
Websites/CMS
Website development
Publication functions
 
Functions for publisher database
Navigation path library
Provides HTML output control functions
Templates
Utility library for static publications
SetHTMLImageMaxWidth
  Set HTML maximum image width
 
Library module::publisher/output/html.whlib
 
Syntax PUBLIC MACRO SetHTMLImageMaxWidth (INTEGER width)
 
Description SetHTMLImageMaxWidth sets the maximum width of all converted images in the Word documents to maxwidth pixels. The image's height is scaled accordingly, using an aspect ratio of 1 :1.
The function can be useful if your page design has strict rules about the maximum width of the content area, or if you want to decrease the filesize of the generated images.
 
Parameters
width Maximum image width, or 0 for no override
 
Example
// Sets the maximum image width to 100 pixels
SetHTMLImageMaxWidth (100);
 
In library 'html'
GetHTMLCharsetTag
GetHTMLStylesheetLink
GetHTMLWebhareTag
PrintHTMLDocType
PrintHTMLStandardHeaderData
SetHTMLCompliance
SetHTMLImageBGColor
SetHTMLImageMaxWidth
SetHTMLJpegQuality
SetHTMLLevel
SetHTMLRelativeFonts
SetHTMLStyleSheet
SetHTMLTableBorders
SetHTMLTableSize
 
Top To top of page