Skip Navigation LinksOneClickHelp > Programs and the interface description > Word 2 Help (doc to chm) > Additional opportunities > Change of the image size in Help  

Change of the image size in Help

To see, how it works, click on the picture (if you read it in CHM, HxS, WEB).

Description: Иконка OneClickHelp (нажмите чтобы увеличить)

 

For creation of such possibility in Help it is necessary to make in MS Word the steps below.

1.     Define two styles

·       Name = ExpandPictureBegin, based on Normal, size = 1.

·       Name = ExpandPictureEnd, based on Normal, size = 1.

2.     Insert one style above and one below the picture.

3.     For this picture to define a bookmark, for example xxx.

 

ExpandPictureBegin

 

 

Image with bookmark xxx

ExpandPictureEnd

 

 

 

4.     Create the increased image and name it xxxBig.jpg. The last 7 symbols Big.jpg - fixed and is not subject to change.

5.     Create a batch file which copies xxxBig.jpg in a folder of images of the created project. In case of OneClickHelp documentation, it looks so.

if exist D:\VS2008\1ch\1ch\Help\1chDoc\1ch-en\1ch-en.files copy D:\VS2008\1ch\DocAllUser\1ch\navigation\BigImages D:\VS2008\1ch\1ch\Help\1chDoc\1ch-en\1ch-en.files

if exist D:\VS2008\1ch\1ch\Help\1chDoc\1ch-en\1ch-en_files copy D:\VS2008\1ch\DocAllUser\1ch\navigation\BigImages D:\VS2008\1ch\1ch\Help\1chDoc\1ch-en\1ch-en_files

In this case, all files prepared in advance are copied. This copying can be carried out after an event ProgramAfterHtml2Htmls.

Attention: Though you have created a bookmark in Word, this bookmark in Help will be removed, and its hyperlink will not work. Therefore, if it is necessary for you to refer to this picture create a bookmark close to this picture.

 

BackHomeNext