public Prince() { mEvents = null; mInputType = "auto"; mJavaScript = false; mNoNetwork = false; mVerbose = false; mDebug = false; mNoWarnCss = false; mInsecure = false; mNoParallelDownloads = false; mXInclude = true; mEmbedFonts = true; mSubsetFonts = true; mForceIdentityEncoding = false; mCompress = true; mNoArtificialFonts = false; mNoAuthPreemptive = false; mNoAuthorStyle = false; mNoDefaultStyle = false; mEncrypt = false; mKeyBits = 40; mDisallowPrint = false; mDisallowModify = false; mDisallowCopy = false; mDisallowAnnotate = false; mStyleSheets = ""; mJavaScripts = ""; mFileAttachments = ""; mRemaps = ""; }
/// <summary>The <c>PrinceBase</c> constructor.</summary> protected PrinceBase(string princePath, PrinceEvents events = null) => (_princePath, _events) = (princePath, events);
public Prince(string princePath, PrinceEvents events) : this() { mPrincePath = princePath; mEvents = events; }
public Prince() { mEvents = null; mInputType = "auto"; mJavaScript = false; mNoNetwork = false; mVerbose = false; mDebug = false; mNoWarnCss = false; mInsecure = false; mNoParallelDownloads = false; mXInclude = false; mXmlExternalEntities = false; mNoLocalFiles = false; mEmbedFonts = true; mSubsetFonts = true; mForceIdentityEncoding = false; mCompress = true; mConvertColors = false; mNoArtificialFonts = false; mNoAuthPreemptive = false; mNoAuthorStyle = false; mNoDefaultStyle = false; mEncrypt = false; mKeyBits = 40; mDisallowPrint = false; mDisallowModify = false; mDisallowCopy = false; mDisallowAnnotate = false; mStyleSheets = ""; mJavaScripts = ""; mFileAttachments = ""; mRemaps = ""; }
/** Constructor for PrinceControl. * @param exePath The path of the Prince executable. * @param events An instance of the PrinceEvents interface that will * receive error/warning messages returned from Prince. */ public PrinceControl(string exePath, PrinceEvents events) : base(exePath, events) { jobResources = new List<byte[]>(); documents = new List<string>(); attachments = new List<Attachment>(); }
/// <summary> /// Constructor for <c>PrinceControl</c>. /// </summary> /// <param name="princePath"> /// The path of the Prince executable. For example, this may be /// <c>C:\Program Files\Prince\engine\bin\prince.exe</c> on Windows. /// </param> /// <param name="events"> /// An implementation of <c>PrinceEvents</c> that will receive messages /// returned from Prince. /// </param> public PrinceControl(string princePath, PrinceEvents events = null) : base(princePath, events) { }
/** Constructor for PrinceControl. * @param exePath The path of the Prince executable. * @param events An instance of the PrinceEvents interface that will * receive error/warning messages returned from Prince. */ public PrinceControl(string exePath, PrinceEvents events) : base(exePath, events) { }