PrintTicket.SaveTo(Stream) 메서드
정의
인쇄 스키마를 준수하는 XML 형식을 사용하여 PrintTicket 설정을 Stream 개체로 저장합니다.Saves the PrintTicket settings to a Stream object by using an XML format that conforms to the Print Schema.
public:
void SaveTo(System::IO::Stream ^ outStream);
public void SaveTo (System.IO.Stream outStream);
member this.SaveTo : System.IO.Stream -> unit
Public Sub SaveTo (outStream As Stream)
매개 변수
- outStream
- Stream
저장된 Stream이 포함된 PrintTicket입니다.The Stream that holds the saved PrintTicket.
설명
이 메서드는 원래 위치로 다시 스트림의 읽기 / 쓰기 위치를 설정 하지 않습니다.This method does not reset the read-write position of the stream back to its original position. 이 메서드를 호출한 후 즉시이 다시 설정 해야 합니다.You should reset it immediately after calling this method.
하는 경우의 속성을 PrintTicket 는 null
, 없습니다 XML 태그에 포함 하기만 하면 됩니다.If any properties of the PrintTicket are null
, they will simply not be included in the XML markup.
경우는 PrintTicket PrintTicket 문서가 있는 변수로 표현 되지 태그 요소를 포함 하는 사용 하 여 생성 된 개체는 PrintTicket 클래스의 공용 속성을 이러한 요소에이 메서드에서 저장 PrintTicket 문서가 포함 됩니다.If the PrintTicket object was constructed with a PrintTicket document that contains markup elements not represented by any of the PrintTicket class's public properties, those elements will be included in the PrintTicket document saved by this method.