object FormMain: TFormMain
  Left = 0
  Top = 0
  Caption = 'Print PDF - PDFiumVCL Demo'
  ClientHeight = 700
  ClientWidth = 1024
  Color = clBtnFace
  Constraints.MinHeight = 600
  Constraints.MinWidth = 800
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Segoe UI'
  Font.Style = []
  Position = poScreenCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  DesignSize = (
    1024
    700)
  TextHeight = 15
  object pnlMain: TPanel
    Left = 8
    Top = 8
    Width = 1002
    Height = 646
    Anchors = [akLeft, akTop, akRight, akBottom]
    BevelOuter = bvNone
    TabOrder = 0
    object pnlControls: TPanel
      Left = 0
      Top = 0
      Width = 480
      Height = 646
      Align = alLeft
      BevelOuter = bvNone
      TabOrder = 0
      object lblLink: TLabel
        Left = 8
        Top = 608
        Width = 124
        Height = 20
        Cursor = crHandPoint
        Caption = '@ losLab Software'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlue
        Font.Height = -15
        Font.Name = 'Segoe UI'
        Font.Style = [fsUnderline]
        ParentFont = False
        OnClick = lblLinkClick
        OnMouseEnter = lblLinkMouseEnter
        OnMouseLeave = lblLinkMouseLeave
      end
      object grpFileSelection: TGroupBox
        Left = 8
        Top = 8
        Width = 464
        Height = 140
        Caption = ' PDF File Selection '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        DesignSize = (
          464
          140)
        object lblPdfFile: TLabel
          Left = 16
          Top = 28
          Width = 45
          Height = 15
          Caption = 'PDF &File:'
          FocusControl = edtPdfFile
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblRecentFiles: TLabel
          Left = 16
          Top = 84
          Width = 65
          Height = 15
          Caption = 'Recent Files:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object btnBrowse: TSpeedButton
          Left = 402
          Top = 49
          Width = 48
          Height = 23
          Anchors = [akTop, akRight]
          Caption = '...'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          OnClick = btnBrowseClick
        end
        object edtPdfFile: TEdit
          Left = 16
          Top = 49
          Width = 380
          Height = 23
          Anchors = [akLeft, akTop, akRight]
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          OnChange = edtPdfFileChange
        end
        object lstRecentFiles: TListBox
          Left = 16
          Top = 105
          Width = 434
          Height = 24
          Anchors = [akLeft, akTop, akRight]
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'Segoe UI'
          Font.Style = []
          ItemHeight = 13
          ParentFont = False
          PopupMenu = PopupMenu
          TabOrder = 1
          OnClick = lstRecentFilesClick
          OnDblClick = lstRecentFilesDblClick
        end
      end
      object grpPrintOptions: TGroupBox
        Left = 8
        Top = 154
        Width = 464
        Height = 120
        Caption = ' Print Options '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 1
        object lblPageRange: TLabel
          Left = 16
          Top = 28
          Width = 65
          Height = 15
          Caption = 'Page &Range:'
          FocusControl = cmbPageRange
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblTo: TLabel
          Left = 280
          Top = 28
          Width = 14
          Height = 15
          Caption = '&to:'
          Enabled = False
          FocusControl = edtToPage
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblCopies: TLabel
          Left = 16
          Top = 60
          Width = 39
          Height = 15
          Caption = '&Copies:'
          FocusControl = edtCopies
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object cmbPageRange: TComboBox
          Left = 88
          Top = 25
          Width = 120
          Height = 23
          Style = csDropDownList
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ItemIndex = 0
          ParentFont = False
          TabOrder = 0
          Text = 'All pages'
          OnChange = cmbPageRangeChange
          Items.Strings = (
            'All pages'
            'Current page'
            'Custom range')
        end
        object edtFromPage: TEdit
          Left = 224
          Top = 25
          Width = 48
          Height = 23
          Alignment = taCenter
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 1
          Text = '1'
          OnChange = edtFromPageChange
        end
        object edtToPage: TEdit
          Left = 304
          Top = 25
          Width = 48
          Height = 23
          Alignment = taCenter
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 2
          Text = '1'
          OnChange = edtToPageChange
        end
        object edtCopies: TEdit
          Left = 88
          Top = 57
          Width = 48
          Height = 23
          Alignment = taCenter
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 3
          Text = '1'
        end
        object udCopies: TUpDown
          Left = 136
          Top = 57
          Width = 16
          Height = 23
          Associate = edtCopies
          Min = 1
          Max = 999
          Position = 1
          TabOrder = 4
        end
        object chkCollate: TCheckBox
          Left = 170
          Top = 59
          Width = 97
          Height = 17
          Caption = 'C&ollate copies'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 5
        end
      end
      object grpLayoutOptions: TGroupBox
        Left = 8
        Top = 280
        Width = 464
        Height = 140
        Caption = ' Layout && Scaling Options '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 2
        object lblLayout: TLabel
          Left = 16
          Top = 28
          Width = 39
          Height = 15
          Caption = '&Layout:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblScaling: TLabel
          Left = 16
          Top = 80
          Width = 41
          Height = 15
          Caption = '&Scaling:'
          FocusControl = cmbScaling
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblCustomScale: TLabel
          Left = 280
          Top = 80
          Width = 58
          Height = 15
          Caption = 'Custom %:'
          Enabled = False
          FocusControl = edtCustomScale
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object rbPortrait: TRadioButton
          Left = 88
          Top = 27
          Width = 65
          Height = 17
          Caption = '&Portrait'
          Checked = True
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          TabStop = True
        end
        object rbLandscape: TRadioButton
          Left = 159
          Top = 27
          Width = 81
          Height = 17
          Caption = '&Landscape'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 1
        end
        object rbAutoRotate: TRadioButton
          Left = 246
          Top = 27
          Width = 90
          Height = 17
          Caption = '&Auto rotate'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 2
        end
        object cmbScaling: TComboBox
          Left = 88
          Top = 77
          Width = 120
          Height = 23
          Style = csDropDownList
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ItemIndex = 1
          ParentFont = False
          TabOrder = 3
          Text = 'Fit to page'
          OnChange = cmbScalingChange
          Items.Strings = (
            'None (100%)'
            'Fit to page'
            'Shrink to fit'
            'Custom scale')
        end
        object edtCustomScale: TEdit
          Left = 344
          Top = 77
          Width = 48
          Height = 23
          Alignment = taCenter
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 4
          Text = '100'
          OnChange = edtCustomScaleChange
        end
        object udCustomScale: TUpDown
          Left = 392
          Top = 77
          Width = 16
          Height = 23
          Associate = edtCustomScale
          Enabled = False
          Min = 10
          Max = 1000
          Position = 100
          TabOrder = 5
        end
        object chkDuplex: TCheckBox
          Left = 88
          Top = 50
          Width = 97
          Height = 17
          Caption = '&Duplex printing'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 6
        end
      end
      object grpQualityOptions: TGroupBox
        Left = 8
        Top = 426
        Width = 464
        Height = 80
        Caption = ' Print Quality Options '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 3
        object lblQuality: TLabel
          Left = 16
          Top = 28
          Width = 41
          Height = 15
          Caption = '&Quality:'
          FocusControl = cmbQuality
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblDPI: TLabel
          Left = 200
          Top = 28
          Width = 21
          Height = 15
          Caption = '&DPI:'
          FocusControl = edtDPI
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object cmbQuality: TComboBox
          Left = 88
          Top = 25
          Width = 96
          Height = 23
          Style = csDropDownList
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ItemIndex = 1
          ParentFont = False
          TabOrder = 0
          Text = 'Normal'
          OnChange = cmbQualityChange
          Items.Strings = (
            'Draft'
            'Normal'
            'High')
        end
        object edtDPI: TEdit
          Left = 232
          Top = 25
          Width = 48
          Height = 23
          Alignment = taCenter
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 1
          Text = '300'
          OnChange = edtDPIChange
        end
        object udDPI: TUpDown
          Left = 280
          Top = 25
          Width = 16
          Height = 23
          Associate = edtDPI
          Min = 72
          Max = 1200
          Position = 300
          TabOrder = 2
        end
        object chkGrayscale: TCheckBox
          Left = 88
          Top = 54
          Width = 97
          Height = 17
          Caption = '&Grayscale'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 3
        end
      end
      object btnPrint: TButton
        Left = 8
        Top = 520
        Width = 90
        Height = 32
        Caption = '&Print'
        Default = True
        Enabled = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 4
        OnClick = btnPrintClick
      end
      object btnPageSetup: TButton
        Left = 200
        Top = 520
        Width = 90
        Height = 32
        Caption = 'Page &Setup'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 5
        OnClick = btnPageSetupClick
      end
      object btnCancel: TButton
        Left = 296
        Top = 520
        Width = 75
        Height = 32
        Caption = '&Cancel'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 6
        Visible = False
        OnClick = btnCancelClick
      end
      object btnExit: TButton
        Left = 382
        Top = 520
        Width = 75
        Height = 32
        Caption = 'E&xit'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = []
        ParentFont = False
        TabOrder = 7
        OnClick = btnExitClick
      end
      object progressPrint: TProgressBar
        Left = 8
        Top = 570
        Width = 466
        Height = 17
        TabOrder = 8
        Visible = False
      end
    end
    object pnlPreview: TPanel
      Left = 480
      Top = 0
      Width = 522
      Height = 646
      Align = alClient
      BevelOuter = bvNone
      TabOrder = 1
      DesignSize = (
        522
        646)
      object grpPreview: TGroupBox
        Left = 8
        Top = 8
        Width = 506
        Height = 630
        Anchors = [akLeft, akTop, akRight, akBottom]
        Caption = ' Print Preview '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Segoe UI'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        DesignSize = (
          506
          630)
        object lblPreviewPage: TLabel
          Left = 16
          Top = 28
          Width = 29
          Height = 15
          Caption = '&Page:'
          FocusControl = edtPreviewPage
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblZoom: TLabel
          Left = 300
          Top = 28
          Width = 35
          Height = 15
          Caption = '&Zoom:'
          FocusControl = cmbZoom
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object lblPageInfo: TLabel
          Left = 16
          Top = 600
          Width = 113
          Height = 15
          Anchors = [akLeft, akBottom]
          Caption = 'No document loaded'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
        end
        object pdfPreview: TPdfView
          Left = 16
          Top = 56
          Width = 474
          Height = 536
          Anchors = [akLeft, akTop, akRight, akBottom]
          Color = clWhite
          Pdf = Pdf
          Zoom = 1.000000000000000000
          TabOrder = 5
        end
        object edtPreviewPage: TEdit
          Left = 50
          Top = 25
          Width = 48
          Height = 23
          Alignment = taCenter
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          Text = '1'
          OnChange = edtPreviewPageChange
        end
        object udPreviewPage: TUpDown
          Left = 98
          Top = 25
          Width = 16
          Height = 23
          Associate = edtPreviewPage
          Min = 1
          Position = 1
          TabOrder = 1
        end
        object btnFirstPage: TButton
          Left = 128
          Top = 24
          Width = 32
          Height = 25
          Caption = '|<'
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 2
          OnClick = btnFirstPageClick
        end
        object btnPrevPage: TButton
          Left = 166
          Top = 24
          Width = 32
          Height = 25
          Caption = '<'
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 3
          OnClick = btnPrevPageClick
        end
        object btnNextPage: TButton
          Left = 204
          Top = 24
          Width = 32
          Height = 25
          Caption = '>'
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 4
          OnClick = btnNextPageClick
        end
        object btnLastPage: TButton
          Left = 242
          Top = 24
          Width = 32
          Height = 25
          Caption = '>|'
          Enabled = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 6
          OnClick = btnLastPageClick
        end
        object cmbZoom: TComboBox
          Left = 339
          Top = 25
          Width = 80
          Height = 23
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Segoe UI'
          Font.Style = []
          ParentFont = False
          TabOrder = 7
          Text = '100%'
          OnChange = cmbZoomChange
          Items.Strings = (
            '25%'
            '50%'
            '75%'
            '100%'
            '125%'
            '150%'
            '200%'
            '300%'
            '400%'
            '500%')
        end
      end
    end
  end
  object pnlStatus: TPanel
    Left = 8
    Top = 660
    Width = 1002
    Height = 32
    Anchors = [akLeft, akRight, akBottom]
    BevelOuter = bvLowered
    TabOrder = 1
    object lblStatus: TLabel
      Left = 8
      Top = 8
      Width = 32
      Height = 15
      Caption = 'Ready'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Segoe UI'
      Font.Style = []
      ParentFont = False
    end
  end
  object OpenDialog: TOpenDialog
    DefaultExt = 'pdf'
    Filter = 'PDF Files (*.pdf)|*.pdf|All Files (*.*)|*.*'
    Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
    Title = 'Select PDF File to Print'
    Left = 112
    Top = 160
  end
  object PrintDialog: TPrintDialog
    Options = [poPageNums, poSelection, poWarning, poHelp, poDisablePrintToFile]
    Left = 144
    Top = 160
  end
  object PageSetupDialog: TPageSetupDialog
    MinMarginLeft = 0
    MinMarginTop = 0
    MinMarginRight = 0
    MinMarginBottom = 0
    MarginLeft = 2500
    MarginTop = 2500
    MarginRight = 2500
    MarginBottom = 2500
    PageWidth = 21000
    PageHeight = 29700
    Left = 176
    Top = 160
  end
  object PopupMenu: TPopupMenu
    Left = 208
    Top = 160
    object mnuOpenFile: TMenuItem
      Caption = '&Open File...'
      OnClick = mnuOpenFileClick
    end
    object mnuSeparator: TMenuItem
      Caption = '-'
    end
    object mnuClearRecent: TMenuItem
      Caption = '&Clear Recent Files'
      OnClick = mnuClearRecentClick
    end
    object mnuExit: TMenuItem
      Caption = 'E&xit'
      OnClick = btnExitClick
    end
  end
  object tmrAutoSave: TTimer
    Interval = 30000
    OnTimer = tmrAutoSaveTimer
    Left = 240
    Top = 160
  end
  object Pdf: TPdf
    Left = 392
    Top = 448
  end
end
