⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainunit.dfm

📁 生成PDF文档的控件
💻 DFM
字号:
object Form1: TForm1
  Left = 0
  Top = 0
  Caption = 'Document action Demo'
  ClientHeight = 223
  ClientWidth = 426
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 16
    Top = 16
    Width = 132
    Height = 13
    Caption = 'Actions when this happens:'
  end
  object Label2: TLabel
    Left = 16
    Top = 52
    Width = 92
    Height = 13
    Caption = 'Document will close'
  end
  object Label3: TLabel
    Left = 16
    Top = 76
    Width = 91
    Height = 13
    Caption = 'Document will save'
  end
  object Label4: TLabel
    Left = 16
    Top = 99
    Width = 91
    Height = 13
    Caption = 'Document did save'
  end
  object Label5: TLabel
    Left = 16
    Top = 123
    Width = 90
    Height = 13
    Caption = 'Document will print'
  end
  object Label6: TLabel
    Left = 16
    Top = 148
    Width = 90
    Height = 13
    Caption = 'Document did print'
  end
  object Button1: TButton
    Left = 112
    Top = 184
    Width = 185
    Height = 25
    Caption = 'Start Javascript Action Demo'
    TabOrder = 0
    OnClick = Button1Click
  end
  object WCEdit: TEdit
    Left = 115
    Top = 48
    Width = 288
    Height = 21
    TabOrder = 1
    Text = 'app.alert("Document Will Close");'
  end
  object WSEdit: TEdit
    Left = 115
    Top = 72
    Width = 288
    Height = 21
    TabOrder = 2
    Text = 'app.alert("Document Will Save");'
  end
  object WPEdit: TEdit
    Left = 115
    Top = 120
    Width = 288
    Height = 21
    TabOrder = 3
    Text = 'app.alert("Document Will Print");'
  end
  object DSEdit: TEdit
    Left = 115
    Top = 96
    Width = 288
    Height = 21
    TabOrder = 4
    Text = 'app.alert("Document Did Save");'
  end
  object DPEdit: TEdit
    Left = 115
    Top = 144
    Width = 288
    Height = 21
    TabOrder = 5
    Text = 'app.alert("Document Did Print");'
  end
  object VPDF: TVPDF
    AutoLaunch = True
    Author = 'VisPDF Lib User'
    Keywords = 'pdf delphi component'
    Title = 'Delphi PDF library VisPDF Lib'
    ShowInfo = True
    FileName = 'PDFAction.pdf'
    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 = 368
    Top = 16
  end
end

⌨️ 快捷键说明

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