Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / Pixel / 4 сообщений из 4, страница 1 из 1
19.06.2007, 11:09
    #34603972
Voitovych
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Pixel
Код: plaintext
1.
2.
3.
области печати размером 
листа формата  210  *  297  мм
т.е. координаты 
правого нижнего угла ?

СПАСИБО
...
Рейтинг: 0 / 0
19.06.2007, 11:36
    #34604112
urvas
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Pixel
Милиметры перевести в пиксели, а пиксели в юниты (PBU).
...
Рейтинг: 0 / 0
19.06.2007, 11:53
    #34604202
Voitovych
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Pixel
авторМилиметры перевести в пиксели, а пиксели в юниты (PBU).

Искал в help F1 Pixel
и ничего не нашёл
...
Рейтинг: 0 / 0
19.06.2007, 12:13
    #34604296
AIZ
AIZ
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Pixel
Description

Converts pixels to PowerBuilder units. Because pixels are not usually square, you also specify whether you are converting the pixels' horizontal or vertical measurement.

Syntax

PixelsToUnits ( pixels, type )

Argument Description
pixels An integer whose value is the number of pixels you want to convert to PowerBuilder units.
type A value of the ConvertType enumerated datatype value indicating how to convert the value:· XPixelsToUnits! — Convert the pixels in the horizontal direction.· YPixelsToUnits! — Convert the pixels in the vertical direction.
Return value

Integer. Returns the converted value if it succeeds and -1 if an error occurs. If any argument's value is NULL, PixelsToUnits returns NULL.

Description

Converts PowerBuilder units to pixels and reports the measurement. Because pixels are not usually square, you also specify whether to convert in the horizontal or vertical direction.

Syntax

UnitsToPixels ( units, type )

Argument Description
units An integer whose value is the number of PowerBuilder units you want to convert to pixels
type A value of the ConvertType enumerated datatype indicating how to convert the value:· XUnitsToPixels! — Convert the units in the horizontal direction· YUnitsToPixels! — Convert the units in the vertical direction
Return value

Integer. Returns the converted value if it succeeds and -1 if an error occurs. If any argument's value is NULL, UnitsToPixels returns NULL.
...
Рейтинг: 0 / 0
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / Pixel / 4 сообщений из 4, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]