main.dfm

来自「生成PDF文档的控件」· DFM 代码 · 共 101 行

DFM
101
字号
object Form1: TForm1
  Left = 384
  Top = 204
  Width = 343
  Height = 251
  Caption = 'Viewer preferences'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 44
    Top = 19
    Width = 48
    Height = 13
    Caption = 'Filename: '
  end
  object FileNameEdit: TEdit
    Left = 92
    Top = 16
    Width = 201
    Height = 21
    TabOrder = 0
    Text = '.\VewPref.pdf'
  end
  object HideToolbar: TCheckBox
    Left = 20
    Top = 59
    Width = 160
    Height = 22
    Caption = 'Hide Toolbar'
    TabOrder = 1
  end
  object HideMenubar: TCheckBox
    Left = 20
    Top = 85
    Width = 160
    Height = 23
    Caption = 'Hide Menubar'
    TabOrder = 2
  end
  object HideWindowUI: TCheckBox
    Left = 20
    Top = 112
    Width = 160
    Height = 23
    Caption = 'Hide WindowUI'
    TabOrder = 3
  end
  object FitWindow: TCheckBox
    Left = 168
    Top = 59
    Width = 160
    Height = 22
    Caption = 'Fit Window'
    TabOrder = 4
  end
  object CenterWindow: TCheckBox
    Left = 168
    Top = 85
    Width = 160
    Height = 23
    Caption = 'Center Window'
    TabOrder = 5
  end
  object Button1: TButton
    Left = 80
    Top = 168
    Width = 185
    Height = 25
    Caption = 'Create viewer preferences demo'
    TabOrder = 6
    OnClick = Button1Click
  end
  object VPDF: TVPDF
    AutoLaunch = True
    Author = 'VisPDF User'
    Keywords = 'VisPDF vcl pdf library document'
    Title = 'vispdf.com document'
    ShowInfo = True
    Version = pdf13
    ActivateProtection = False
    CryptKeyLength = k40
    ProtectOptions = []
    Resolution = 72
    PageLayout = plSinglePage
    StandardFontEmulation = True
    FontEmbedding = True
    ViewerPreferences = []
    JpegQuality = 100
    Compression = cmFlateDecode
    Left = 8
    Top = 8
  end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?