You are here: Object Model Reference > ScaleGraphics Property

ScaleGraphics Property

Determines what scaling is applied to the graphics in Word source document.

Type

Applies To

Enum

Help Target (Help 2.0)
Help Target (NetHelp)
Help Target (HTML Help)
Help Target (JavaHelp)
Help Target (WinHelp)

 

Value

Description

No scale

Graphics are displayed at their original size. Scale that the graphics may have in the source Word document is reset.

Scale in target

Graphics have the same size as they are displayed in Word (where they may be scaled). Linked graphics are scaled by the viewer (browser) displaying the online help target. The linked image file has the original size, scaling is delegated to the browser by setting the IMG tag dimensions.

Scale in build

Graphics have the same size as they are displayed in Word (where they may be scaled). Linked graphics are scaled by Doc-To-Help when the help target is built, the linked image file is resampled to the required size.

 

Remarks

With No scale option, the size of the picture in the help target is different from the size displayed in Word if the picture has scale in the Word document.

For graphics embedded within Word documents (as opposed to linked graphics that are not stored in the document), Scale in target and Scale in build options are equivalent, the size of the picture is the same as it is displayed in Word. If the picture is scaled in Word, Doc-To-Help gets the image file already scaled from Word.

For linked graphics, options Scale in target and Scale in build also produce pictures of the same size, the size it is displayed in Word. The only difference between them is that quality of scaling (resampling) can differ for some images. With Scale in build option, Doc-To-Help is responsible for resampling the image, and with Scale in target option that task is left to the viewer (browser) that displays the online help target. Choose whichever produces best results.

For WinHelp target, Scale in target and Scale in build options are equivalent for all graphics, resampling is performed by Doc-To-Help.

This property does not apply to HTML source documents.

Location

      Click the Project Icon.

      Make sure you have selected the correct help target from the Help Target Dropdown.

      The property is located under the Display group in the Properties Pane.