📄 arraypage.cs
字号:
using System;
using System.Diagnostics;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using PdfSharp.Pdf;
using PdfSharp.Pdf.Advanced;
using PdfSharp.Pdf.Internal;
namespace PdfSharp.Explorer.Pages
{
/// <summary>
/// Viewer for PdfArray objects.
/// </summary>
public class ArrayPage : PageBase
{
private System.ComponentModel.Container components = null;
ArrayPage()
{
InitializeComponent();
}
public ArrayPage(ExplorerPanel explorer)
{
this.explorer = explorer;
InitializeComponent();
}
private System.Windows.Forms.ColumnHeader clmIndex;
private System.Windows.Forms.ColumnHeader clmValue;
private System.Windows.Forms.ColumnHeader clmIndirect;
private System.Windows.Forms.ColumnHeader clmType;
private System.Windows.Forms.ListView lvItems;
private System.Windows.Forms.TextBox tbxObjectID;
private System.Windows.Forms.Label lblObjectID;
private System.Windows.Forms.Label lblType;
private System.Windows.Forms.Label txtType;
ExplorerPanel explorer;
internal override void SetObject(PdfItem obj)
{
PdfArray array = (PdfArray)obj;
if (PdfInternals.GetObjectID(array).IsEmpty)
this.tbxObjectID.Text = "玠irect
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -