<% 'ASPJPEG综合操作CLASS Class AspJpeg Dim AspJpeg_Obj,obj Private Img_MathPath_From,Img_MathPath_To,Img_Reduce_Size,CoverIf Private Img_Frame_Size,Img_Frame_Color,Img_Frame_Solid,Img_Frame_Width,Img_Frame_Height Private Img_Font_Content,Img_Font_Family,Img_Font_Color,Img_Font_Quality,Img_Font_Size,Img_Font_Bold,Img_Font_X,Img_Font_Y Private Img_PicIn_Path,Img_PicIn_X,Img_PicIn_Y '--------------取原文件路径 Public Property Let MathPathFrom(StrType) Img_MathPath_From=StrType End Property
'--------------取文件保存路径 Public Property Let MathPathTo(strType) Img_MathPath_To=strType End Property
'--------------保存文件时是否覆盖已有文件 Public Property Let CovePro(LngSize) If LngSize=0 or LngSize=1 or LngSize=true or LngSize=false then CoverIf=LngSize End If End Property
'---------------取缩略图/放大图 缩略值 Public Property Let ReduceSize(LngSize) If isNumeric(LngSize) then Img_Reduce_Size=LngSize End If End Property
'---------------取描边属性 '边框粗细 Public Property Let FrameSize(LngSize) If isNumeric(LngSize) then Img_Frame_Size=Clng(LngSize) End If End Property '边框宽度 Public Property Let FrameWidth(LngSize) If isNumeric(LngSize) then Img_Frame_Width=Clng(LngSize) End If End Property '边框高度 Public Property Let FrameHeight(LngSize) If isNumeric(LngSize) then Img_Frame_Height=Clng(LngSize) End If End Property '边框颜色 Public Property Let FrameColor(strType) If strType<>"" then Img_Frame_Color=strType End If End Property '边框是否加粗 Public Property Let FrameSolid(LngSize) If LngSize=1 or LngSize=0 or LngSize=true or LngSize=false then Img_Frame_Solid=LngSize End If End Property
'---------------取插入文字属性 '插入的文字 Public Property Let Content(strType) If strType<>"" then Img_Font_Content=strType End If End Property '文字字体 Public Property Let FontFamily(strType) If strType<>"" then Img_Font_Family=strType End If End Property '文字颜色 Public Property Let FontColor(strType) If strType<>"" then Img_Font_Color=strType End If End Property '文字品质 Public Property Let FontQuality(LngSize) If isNumeric(LngSize) then Img_Font_Quality=Clng(LngSize) End If End Property '文字大小 Public Property Let FontSize(LngSize) If isNumeric(LngSize) then