/// <summary> /// Gets special instruction for visible text rendering, <see cref="BODYTEXT_NAME"/> /// </summary> /// <returns></returns> public static DocumentRenderInstruction GetBodyTextInstruction() { var output = new DocumentRenderInstruction("Body text", "", 1.0); output.instructionFlags = DocumentRenderInstructionFlags.cur_page | DocumentRenderInstructionFlags.page_content; return(output); }
/// <summary> /// Gets the description instruction. /// </summary> /// <returns></returns> public static DocumentRenderInstruction GetDescriptionInstruction() { var output = new DocumentRenderInstruction("Meta description", "", 1.0); output.instructionFlags = DocumentRenderInstructionFlags.cur_page | DocumentRenderInstructionFlags.page_description; return(output); }
/// <summary> /// Gets the title instruction. /// </summary> /// <returns></returns> public static DocumentRenderInstruction GetTitleInstruction() { var output = new DocumentRenderInstruction("Page title", "", 1.0); output.instructionFlags = DocumentRenderInstructionFlags.cur_page | DocumentRenderInstructionFlags.page_title; return(output); }