ScaleMargins Format: Left, Top, Right, Bottom Note: If only one of either W or H is defined, then PreserveAspectRatio will default to 1. 2: The image is scaled and cropped to fill the bounds specified by W and/or H while preserving the aspect ratio.1: The image is scaled to fit within the bounds specified by W and/or H while preserving the aspect ratio.0: The image is scaled to exactly fit the bounds specified by W and H without regard to aspect ratio.PreserveAspectRatio Default: 0Ĭontrols how W and H scale the image when Tile=0. If there is an external process that is changing the image file, while leaving the name the same, use DynamicVariables=1 on the meter to force the image to be reloaded from disk on every meter update. Note: When ImageName is hard-coded with an image file name, the image will be loaded and "cached", to avoid reloading the image from disk on every meter update. %1 and %2 will be replaced by the string values of SomeMeasure and png is not desired, or when ImageName is being used to define an image based on the combined values of the measures in MeasureName N and uses the % N syntax as follows: MeasureName=SomeMeasure The exceptions are when MeasureName returns a file name with no extension, and the default. Generally, MeasureName N and ImageName will not be used together in the same meter. Note: If a MeasureName N option is defined, it will override any named file in the ImageName option. This can be a full path and name of any supported image file, or just the name of the file if the ImagePath option is used or the image file is in the current skin folder. The value can define a full path and name of any supported image file, or just the name if the ImagePath option is used or the image file is in the current skin folder. The value of a measure or measures will define the image file to be used in the meter. Name(s) of the measure(s) bound to the meter. General image optionsĪll general image options are valid for ImageName. Options General meter optionsĪll general meter options are valid. If W and/or H are included in the meter options, the image will be scaled to fit the meter size. Meter=Image displays either an image defined by a measure value, or any named image.
0 Comments
Leave a Reply. |