C# 클래스 OfficeOpenXml.ExcelHeaderFooterText

Print header and footer
파일 보기 프로젝트 열기: pruiz/EPPlus 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CenteredText string
LeftAlignedText string
RightAlignedText string

공개 메소드들

메소드 설명
InsertPicture ( FileInfo PictureFile, PictureAlignment Alignment ) : OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture

Inserts a picture at the end of the text in the header or footer

InsertPicture ( Image Picture, PictureAlignment Alignment ) : OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture

Inserts a picture at the end of the text in the header or footer

비공개 메소드들

메소드 설명
AddImage ( Image Picture, string id, ExcelPackage ii ) : OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture
ExcelHeaderFooterText ( XmlNode TextNode, OfficeOpenXml.ExcelWorksheet ws, string hf ) : System
SetText ( string code, string text ) : void
ValidateImage ( PictureAlignment Alignment ) : string

메소드 상세

InsertPicture() 공개 메소드

Inserts a picture at the end of the text in the header or footer
public InsertPicture ( FileInfo PictureFile, PictureAlignment Alignment ) : OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture
PictureFile System.IO.FileInfo The image object containing the Picture
Alignment PictureAlignment Alignment. The image object will be inserted at the end of the Text.
리턴 OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture

InsertPicture() 공개 메소드

Inserts a picture at the end of the text in the header or footer
public InsertPicture ( Image Picture, PictureAlignment Alignment ) : OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture
Picture Image The image object containing the Picture
Alignment PictureAlignment Alignment. The image object will be inserted at the end of the Text.
리턴 OfficeOpenXml.Drawing.Vml.ExcelVmlDrawingPicture

프로퍼티 상세

CenteredText 공개적으로 프로퍼티

Get/set the text to appear in the center of the header (or footer) on the worksheet.
public string CenteredText
리턴 string

LeftAlignedText 공개적으로 프로퍼티

Get/set the text to appear on the left hand side of the header (or footer) on the worksheet.
public string LeftAlignedText
리턴 string

RightAlignedText 공개적으로 프로퍼티

Get/set the text to appear on the right hand side of the header (or footer) on the worksheet.
public string RightAlignedText
리턴 string