mainunit.dfm

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

DFM
97
字号
object Form1: TForm1
  Left = 0
  Top = 0
  Caption = 'PDF viewer preferences demo'
  ClientHeight = 247
  ClientWidth = 308
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Button1: TButton
    Left = 40
    Top = 176
    Width = 201
    Height = 25
    Caption = 'Start viewer preferences demo'
    TabOrder = 0
    OnClick = Button1Click
  end
  object FileNameEdit: TEdit
    Left = 32
    Top = 24
    Width = 241
    Height = 21
    TabOrder = 1
    Text = 'VewPref.pdf'
  end
  object HideToolbar: TCheckBox
    Left = 40
    Top = 64
    Width = 97
    Height = 17
    Caption = 'Hide toolbar'
    TabOrder = 2
  end
  object HideMenubar: TCheckBox
    Left = 40
    Top = 96
    Width = 97
    Height = 17
    Caption = 'Hide menubar'
    TabOrder = 3
  end
  object HideWindowUI: TCheckBox
    Left = 40
    Top = 128
    Width = 97
    Height = 17
    Caption = 'Hide WindowUI'
    TabOrder = 4
  end
  object FitWindow: TCheckBox
    Left = 161
    Top = 64
    Width = 97
    Height = 17
    Caption = 'Fit window'
    TabOrder = 5
  end
  object CenterWindow: TCheckBox
    Left = 161
    Top = 96
    Width = 97
    Height = 17
    Caption = 'Center window'
    TabOrder = 6
  end
  object VPDF: TVPDF
    AutoLaunch = True
    Author = 'VisPDF Lib User'
    Keywords = 'pdf delphi component'
    Title = 'Delphi PDF library VisPDF Lib'
    ShowInfo = True
    Version = pdf13
    ActivateProtection = False
    CryptKeyLength = k40
    ProtectOptions = []
    PageLayout = plSinglePage
    StandardFontEmulation = True
    FontEmbedding = True
    ViewerPreferences = []
    JpegQuality = 100
    Compression = cmFlateDecode
    KeepImageAspectRatio = False
    Resolution = 0
    ParaAutoAddPage = True
    ImageCompressionType = icFlate
    Left = 272
    Top = 16
  end
end

⌨️ 快捷键说明

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