D+ \0 W# `! S! q) L'Usage6 [& b' K! d8 u. F
IModelDocExtension.SaveAs3(Name, Version, Options, ExportData, AdvancedSaveAsOptions, Errors, Warnings) : \8 S; b( u( s2 }# U# L ' j2 u. {) F& ~+ V, p2 x# u* D8 X
'Func Declaration% y2 @1 E/ |' s( w) @% ^0 b
Function SaveAs3( _4 A" M- \: W$ F/ i, P: w4 _
ByVal Name As System.String, _; a8 [7 V( ]4 U" _: j( Z1 T
ByVal Version As System.Integer, _- D8 l! Y0 y# i ~; j: O
ByVal Options As System.Integer, _/ T2 {0 s' P/ i' B, c
ByVal ExportData As System.Object, _6 I8 V% J+ C5 D _
ByVal AdvancedSaveAsOptions As System.Object, _ 4 l, \) z0 w2 l! x; n ByRef Errors As System.Integer, _7 x6 ^, |8 u8 g% L
ByRef Warnings As System.Integer _ + h. b+ O4 Y2 g# o) [) As System.Boolean% ?2 w# T9 l! S
$ g( ]& r/ P, V7 S# [$ p. c& {, OParameters% c [. o1 H h) ]; b+ K& U8 p: X
Name ! t! u$ M( G+ t z) O' o8 M" i Full pathname of the document to save; the file extension indicates any conversion that should be performed (for example, Part1.igs to save in IGES format) (see Remarks) ) f% P& Y0 r a- ?5 _ Version * ~2 k/ q/ C# j3 r8 M3 w$ C
Format in which to save this document as defined in swSaveAsVersion_e (see Remarks) 7 ]* H& ~0 f0 y/ I4 e Options 3 n$ W/ L- [! |- u Option indicating how to save the document as defined in swSaveAsOptions_e (see Remarks) 3 G! q: H0 r% B ExportData 7 J! r' k6 t( q9 D: F8 c# z IExportPdfData object for exporting drawing sheets to PDF (see Remarks) / ]5 R3 H: v& ?0 f! h AdvancedSaveAsOptions 5 V; {/ P4 a; S/ n0 u IAdvancedSaveAsOptions (see Remarks) ; L# c) a! I9 p5 M* { Errors 9 T( i) d4 ^0 q; }: {8 J' E) e, R
Errors that caused the save to fail as defined in swFileSaveError_e (see Remarks) ( j! i1 q- _* D% U- X Warnings 2 E3 C4 i, D8 y1 Z. c) P Warnings or extra information generated during the save operation as defined in swFileSaveWarning_e (see Remarks) ; G5 p# J% |' _- k3 J' A5 v. y* b, hReturn Value ; M3 i o/ {( `) Q9 Q# e! v True if the save is successful, false if not7 W* U% n& }; O5 G' P6 h% |$ O, K
/ C! E+ \" j, f" f) f- Z
z# q- C8 a5 L& b4 o3 i$ U4 H
內(nèi)容摘自apihelp.chm(通常存于 xxx\SOLIDWORKS Corp\SOLIDWORKS\api\ ) % |- D& ^& q, R& L$ c" B; b7 C3 `+ z/ J/ S
0 [+ M& |) C, H: l0 D( b. A