mainunit.dfm

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

DFM
76
字号
object Form1: TForm1
  Left = 192
  Top = 114
  Width = 344
  Height = 248
  Caption = 'PDF edit demo'
  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 = 30
    Top = 36
    Width = 28
    Height = 13
    Caption = 'In file:'
  end
  object Label2: TLabel
    Left = 22
    Top = 68
    Width = 36
    Height = 13
    Caption = 'Out file:'
  end
  object InFileEdit: TEdit
    Left = 64
    Top = 32
    Width = 241
    Height = 21
    TabOrder = 0
    Text = '..\InFile.pdf'
  end
  object Button1: TButton
    Left = 48
    Top = 136
    Width = 225
    Height = 41
    Caption = 'Load an existing PDF file and edit'
    TabOrder = 1
    OnClick = Button1Click
  end
  object OutFileEdit: TEdit
    Left = 64
    Top = 64
    Width = 241
    Height = 21
    TabOrder = 2
    Text = '..\OutFile.pdf'
  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 = []
    PageLayout = plSinglePage
    StandardFontEmulation = True
    FontEmbedding = True
    ViewerPreferences = []
    JpegQuality = 100
    Compression = cmFlateDecode
    KeepImageAspectRatio = False
    Resolution = 0
    ImageCompressionType = icFlate
  end
end

⌨️ 快捷键说明

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