📄 pdfobjstream.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using AnotherPDFLib.PdfGraphics;
namespace AnotherPDFLib
{
/// <summary>
/// an object stream, which contains a sequence of PDF objects
/// </summary>
public partial class PdfObjStream : PdfStream
{
public PdfObjStream() : base("ObjStm")
{
}
/// <summary>
/// The number of compressed objects in the stream.
/// </summary>
public int ObjectCount
{
get
{
PdfInteger objectcount = this["N"] as PdfInteger;
if (objectcount != null)
{
return objectcount.Value;
}
return 0;
}
set
{
this["N"] = new PdfInteger(value);
}
}
/// <summary>
/// The byte offset (in the decoded stream) of the first compressed object.
/// </summary>
public int First
{
get
{
PdfInteger first = this["First"] as PdfInteger;
if (first != null)
{
return first.Value;
}
return 0;
}
set
{
this["First"] = new PdfInteger(value);
}
}
/// <summary>
/// A reference to an object stream, of which the current object stream is considered an extension.
/// </summary>
public PdfStream Extends
{
get
{
return this["Extends"] as PdfStream;
}
set
{
this["Extends"] = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -