embededfilestream.cs
来自「PDF文件格式解析库源代码」· CS 代码 · 共 51 行
CS
51 行
using System;
using System.Collections.Generic;
using System.Text;
using AnotherPDFLib.PdfGraphics;
namespace AnotherPDFLib
{
public partial class EmbededFileStream : PdfStream
{
public EmbededFileStream() : base("EmbeddedFile")
{
}
/// <summary>
/// The subtype of the embedded file. The value must be a first-class name. Names without a registered prefix must conform to the MIME media type names.
/// </summary>
public string Subtype
{
get
{
PdfName subtype = this["Subtype"] as PdfName;
if (subtype != null)
{
return subtype.Value;
}
return String.Empty;
}
set
{
this["Subtype"] = new PdfName(value);
}
}
/// <summary>
/// An embedded file parameter dictionary containing additional, filespecific information.
/// </summary>
public EmbeddedFileParameter Params
{
get
{
return this["Params"] as EmbeddedFileParameter;
}
set
{
this["Params"] = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?