ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.PageFrameColor

TIEPdfViewerInteraction.PageFrameColor


Declaration

property PageFrameColor: TColor;


Description

Specifies the color of the frame of each page when the document is displayed in "All Pages" mode.
Set to clNone to disable page frames.
If PageSpacing=1, PageFrameColor is used to draw the border at the end of each page.
You can optionally specify a different color for the active page using SelPageFrameColor.

Note: Frames are only drawn when PageSpacing > 0

Default: $004E4E4E (Dark Gray)


Example

// Use a silver page frame
ImageEnView1.PdfViewer.PageFrameColor := clSilver;

// Disable page frames
ImageEnView1.PdfViewer.PageFrameColor := clNone;

// Black line at the end of each page
ImageEnView1.PdfViewer.PageSpacing := 1;
ImageEnView1.PdfViewer.PageFrameColor := clBlack;