FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 ImageResize
ホーム • Customization Tools • FCAS • Language Reference • ImageResize
 
Purpose
Changes the displayed size of an image.
Binary data will be returned in the same image format with the new dimensions.
Syntax
ImageResize (OriginalData, NewWidth, NewHeight)


OriginalData
The binary data that contains the original image.
NewWidth
In pixels.
NewHeight
In pixels.

Example
Sub Main()

Dim fIn as File
Dim fOut as File

fIn.OpenFile("c:\photo.jpg")
fIn.Read(fIn.Datasize)
fOut.OpenFile(FCPOFolder & "\smallphoto.jpg",fcWrite)
fOut.Write(ImageResize(fIn.Data,32,32))
fOut.CloseFile
fIn.CloseFile

End Sub

 

Copyright(C) 2002-2011 FC Management Co. All Rights Reserved